import 'package:flutter/material.dart';
import 'package:flutter_music/base/base_controller.dart';
import 'package:flutter_music/page/find_page.dart';
import 'package:flutter_music/page/home_page.dart';
import 'package:flutter_music/page/hot_page.dart';
import 'package:flutter_music/page/mine_page.dart';
import 'package:get/get.dart';

class MainController extends BaseController {
  DateTime? lastPopTime;
  final RxInt curPage = 0.obs;
  final PageController pageController = PageController(initialPage: 0);

  final List<Widget> naviItems = [
    const HomePage(),
    const FindPage(),
    const HotPage(),
    const MinePage()
  ];
  @override
  void loadNet() {
    // TODO: implement loadNet
  }

  @override
  void onReady() {
    // TODO: implement onReady
    super.onReady();
    showSuccess();
  }

}